<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-09-17 11:32
 *
 * Version: 2.0
 */

namespace App\Modules\Message\Validators;


class MessageControllerValidator
{
	public static function validator()
	{
		return [
			'getWxList' => [
				'page_size' => [
					'title'   => "页面显示大小",
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			],
			'getAppList' => [
				'type' => [
					'title'   => "通知类型",
					'rule'    => 'nullable|numeric',
					'message' => []
				],
				'page_size' => [
					'title'   => "页面显示大小",
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			],
			'readWxMessage' => [
				'message_log_id' => [
					'title'   => "消息日志Id",
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			],
			'readAppMessage' => [
				'message_id' => [
					'title'   => "消息Id",
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			]
		];
	}

}